{% extends "registration/registration_base.html" %}
{% block head %}
  <link href="{{ STATIC_URL }}css/signup.css" rel="stylesheet">
{% endblock head %}
{% block body %}
<div class="container-fluid">
<div class="row">
<div class="col-lg-4 col-lg-offset-4 col-md-4 col-md-offset-4 col-sm-12 col-xs-12">
  <div class="cover">
  <div class="signup">
    <form class="form-unit" method='post' action='' role="form">
        {% csrf_token %}
        {% for field in form.visible_fields %}
        <div class="form-group{% if field.errors %} has-error{% endif %}">
          <label for="{{ field.label }}">{{ field.label }}</label>
          {{ field }}
          {% if field.help_text %}
            <span class="help-block">{{ field.help_text|safe }}</span>
          {% endif %}
          {% for error in field.errors %}
            <label class="control-label">{{ error }}</label>
          {% endfor %}
        </div>
        {% endfor %}
        <button type="submit" class="btn btn-primary anim-blue-all">注册帐号</button>
    </form>
  </div>
  </div>
</div>
</div>
</div>
{% endblock body %}
